home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 1
/
Nebula One.iso
/
Utilities
/
Converters
/
Convert_PICT
/
Testing
/
hex_tests
/
pat=set1=bw.hex
< prev
next >
Wrap
Text File
|
1995-06-12
|
2KB
|
53 lines
% header
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
% end of app-specific header
00FF 0000 0000 00FF 00FF % pict size (bogus) and top left bottom right
11 01 % verson
01 000A 0000 0000 00FF 00FF % Clip region. Added to keep Mac tester happy.
30 0000 0000 00FF 00FF % draw bounding rect
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% This test set seeks to demonstrate that the primary object
% manipulations (filling, painting, erasing, framing) work as
% they should with patterns. It doesn't test all opcodes. Merely
% a representative subset.
% This test confirms that it works properly with no explicit colors being set
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
02 0008 142A 552A 1408 % back pat (grey diamonds)
09 7789 8f8f 7798 f8f8 % pen pat (the black dimpled circles one)
0A 8244 3944 8201 0101 % fill pat
0B 0010 0010 % roundrect oval size
% draw lines along its four sides
20 0010 0000 0010 00FF
20 0000 0010 00FF 0010
20 0050 0000 0050 00FF
20 0000 0050 00FF 0050
20 0000 0080 00FF 0080
20 0000 00C0 00FF 00C0
20 0080 0000 0080 00FF
20 00C0 0000 00C0 00FF
% Frame a rectangle
30 0010 0010 0050 0050
% paint an adjacent roundrect
41 0010 0080 0050 00C0
% try to invert part of the last rectangle with an arc
63 0010 0080 0050 00C0 0010 00A0
% fill an oval below that one
54 0080 0080 00C0 00C0
% erase an arc
62 0080 0010 00C0 0050 0010 00A0
FF % end